<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <meta name=”viewport” content=”width=device-width, initial-scale=1″ />
    <meta charset="UTF-8">
    <link href="<%=basePath%>css/style.css" rel="stylesheet" type="text/css" />
    <title></title>
    <script src="<%=basePath%>js/jquery.js" type="text/javascript"></script>
    <script src="<%=basePath%>js/cloud.js" type="text/javascript"></script>
    <script language="javascript">
        $(function(){
            //导航切换
            $(".menuson li").click(function(){
                $(".menuson li.active").removeClass("active")
                $(this).addClass("active");
            });
            $('.title').click(function(){
                var $ul = $(this).next('ul');
                $('dd').find('ul').slideUp();
                if($ul.is(':visible')){
                    $(this).next('ul').slideUp();
                }else{
                    $(this).next('ul').slideDown();
                }
            });
        });
    </script>
</head>
<body style="background-color: #f5f5f5">
<view>
    <img src="<%=basePath%>images/oldman.png" height="142" width="80" display="inline-block"/>
    <infor>
        <p>姓名：${sessionScope.user.realname}</p>
        <p>状况：${sessionScope.user.physical}</p>
        <p>地址: ${sessionScope.user.address_area}${sessionScope.user.address_street}</p>
        <p>电话：${sessionScope.user.phonenumber}</p>
        <p>年龄：${sessionScope.user.age}</p>
    </infor>
</view>

<div class="navigation">
    <ul><li><a href="<%=basePath%>/jump/right.do" target="rightFrame">服务订购</a></li>
    <li><a href="<%=basePath%>/service/findByOldManRealName?oldpn=1" target="rightFrame">我的订单</a></li>
    <li><a href="<%=basePath%>/jump/tz_shequfuwu.do" target="rightFrame">社区养老服务</a></li>
    <li><a href="<%=basePath%>/jump/tz_jujiafuwu.do" target="rightFrame">居家养老服务</a></li>
    <li><a href="<%=basePath%>/jump/tz_shequyiliao.do" target="rightFrame">社区医疗服务</a></li>
    <li><a href="<%=basePath%>/jump/tz_jujiayiliao.do" target="rightFrame">居家医疗服务</a></li>
    <li><a href="user.jsp" target="rightFrame">账号管理</a></li>
</ul>
</div>

</body>
</html>
